package com.sdy.kzyy.biz.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author: 王越洋
 * @version: v1.0
 * @description: com.sdy.kzyy.biz.dto
 * @date:2020/3/26
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "扫码人员管理")
@ColumnWidth(20)
public class SweepCodeStaffDTO {
    /**
     * 用户id
     */
    @ApiModelProperty(value = "id")
    @ExcelIgnore
    private Integer Id;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    @ExcelProperty(value = "姓名", index = 0)
    private String managerName;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号码")
    @ExcelProperty(value = "手机号码", index = 1)
    private String managerPhone;


    /**
     * 身份证号
     */
    @ApiModelProperty(value = "药店编码")
    @ExcelIgnore
    private String storeCode;

    /**
     * 药店名称
     */
    @ApiModelProperty(value = "网点名称")
    @ExcelProperty(value = "网点名称", index = 2)
    private String name;

    /**
     * 是否具有扫码权限
     */
    @ApiModelProperty(value = "是否有扫码权限")
    @ExcelIgnore
    private Integer qrCheck;
}
